﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for DTO_Class
/// </summary>
public class DTO_Class
{
    private int _id;
    private string _classid;
    private string _name;
    private int _amout;
    private int _classtype;
    private int _status;
    
    public int ID
    {
        get { return _id; }
        set { _id = value; }
    }
    public string Classid
    {
        get { return _classid; }
        set { _classid = value; }
    }
    public string Name
    {
        get { return _name; }
        set { _name = value; }
    }
    public int Amout
    {
        get { return _amout; }
        set { _amout = value; }
    }
    public int Classtype
    {
        get { return _classtype; }
        set { _classtype = value; }
    }
    public int Status
    {
        get { return _status; }
        set { _status = value; }
    }

	public DTO_Class()
    {
        _id = 0;
        _classid = "";
        _name = "";
        _amout = 0;
        _classtype = 1;
        _status = 1;
	}
    public DTO_Class(int id, string classid, string name, int amout, int classtype, int status)
    {
        this.ID = id;
        this.Classid = classid;
        this.Name = name;
        this.Amout = amout;
        this.Classtype = classtype;
        this.Status = status;
    }
    public DTO_Class(DTO_Class obj)
    {
        this.ID = obj.ID;
        this.Classid = obj.Classid;
        this.Name = obj.Name;
        this.Amout = obj.Amout;
        this.Classtype = obj.Classtype;
        this.Status = obj.Status;
    }
}